package com.ydl.shopping.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ydl.shopping.domain.TbLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface TbLogMapper extends BaseMapper<TbLog> {
    /**
     * 清空表数据
     */
    @Update("truncate table sys_log")
    void truncate();
}
